package com.hwj.service;

import com.hwj.entity.RolePermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RolePermissionService {
    RolePermission selectByPrimaryKey(Long roleId,Long permissionId);
    List<RolePermission> queryByRoleId(Long roleId);

    int deleteByPrimaryKey(Long roleId,Long permissionId);

    int insert(RolePermission record);

    int insertSelective(RolePermission record);


    int updateByPrimaryKeySelective(RolePermission record);

    int updateByPrimaryKey(RolePermission record);

    int deleteByRoleId(Long roleId);
}
